package com.edgclub.edg.model.result;


import com.edgclub.edg.model.Reply;
import com.edgclub.edg.model.User;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class TopicMessageData implements Serializable{

	private List<TopicMess> data=new ArrayList<>();

	public List<TopicMess> getData() {
		return data;
	}

	public void setData(List<TopicMess> data) {
		this.data = data;
	}

	public class TopicMess implements Serializable{
		private String id="0";
		private String postsId ="0";
		private String types="";
		private String content ="";
		private Long updateAt =0l;
		private Reply toReply;
		private User user;
		private Long masterReplyId =0l;//楼层评论ID
		private String postsUserId;//帖主ID
		public Long getMasterReplyId() {
			return masterReplyId;
		}

		public void setMasterReplyId(Long masterReplyId) {
			this.masterReplyId = masterReplyId;
		}

		public String getPostsUserId() {
			return postsUserId;
		}

		public void setPostsUserId(String postsUserId) {
			this.postsUserId = postsUserId;
		}
		public User getUser() {
			return user;
		}

		public void setUser(User user) {
			this.user = user;
		}

		public Reply getToReply() {
			return toReply;
		}

		public void setToReply(Reply toReply) {
			this.toReply = toReply;
		}

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getPostsId() {
			return postsId;
		}

		public void setPostsId(String postsId) {
			this.postsId = postsId;
		}

		public String getTypes() {
			return types;
		}

		public void setTypes(String types) {
			this.types = types;
		}

		public String getContent() {
			return content;
		}

		public void setContent(String content) {
			this.content = content;
		}

		public Long getUpdateAt() {
			return updateAt;
		}

		public void setUpdateAt(Long updateAt) {
			this.updateAt = updateAt;
		}
	}
}
